package cn.yanxiaohui.service.web.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 加载配置文件中的相关属性
 * @author yanxiaohui
 */
@Configuration
@Component
public class ApplicationConfiguraion {
	
	@Value("${static.server}")
	private String staticServer; // 静态资源存放路径

	public String getStaticServer() {
		return staticServer;
	}
}
